package com.seadragon.app.dms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.seadragon.app.dms.dao.OrderDao;
import com.seadragon.app.dms.model.Order;
import com.seadragon.app.dms.service.OrderService;

@Repository
@Transactional
public class OrderServiceImpl implements OrderService {
	@Autowired
	private OrderDao orderDao;
	
	@Override
	public void save(Order order) {
		orderDao.save(order);
	}

	@Override
	public void update(Order order) {
		orderDao.update(order);
	}

}
